package com.sikaryofficial.backend.domain.vo;

import com.sikaryofficial.common.core.constant.PointRuleConstant;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.ToString;

/**
 * @author : qinjinyuan
 * @desc : 积分规则实体
 * @date : 2023/10/31 17:28
 */
@NoArgsConstructor
@AllArgsConstructor
@Setter
@Getter
@ToString
public class PointRuleVO {
    /**
     * 业务编码
     * @see    PointRuleConstant
     *
     */
    private String code;
    /**
     * 积分个数
     */
    private Integer points;
    /**
     * 0-积分增加 1-积分消耗
     */
    private Integer opt;
    /**
     * 备注
     */
    private String comment;

    /**
     * 当前项目积分限制：-1 不限制
     */
    private Integer upperLimitPoints;
}
